from feedbag.apps.blog.models import Post
from django.contrib.sitemaps import FlatPageSitemap, GenericSitemap

def post_sitemap():
	
	info_dict = {
	    'queryset': Post.objects.all(),
	    'date_field': 'created_at',
	}
		
	return GenericSitemap(info_dict, priority=0.6)